/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package geometry;

import java.util.HashMap;

/**
 *
 * @author Administrator
 */
public interface IRoute {

    /**
     * Get the value of Destination
     *
     * @return the value of Destination
     */
    IPlace getDestination();

    /**
     * Get the value of Distance
     *
     * @return the value of Distance
     */
    float getDistance();

    /**
     * Get the value of Leg
     *
     * @return the value of Leg
     */
    HashMap<Integer, ILocation> getLeg();

    /**
     * Get the value of Leg
     *
     * @return the value of Leg
     */
    ILocation getLeg(int Index);

    /**
     * Get the value of Origin
     *
     * @return the value of Origin
     */
    IPlace getOrigin();

    /**
     * Get the value of Unit
     *
     * @return the value of Unit
     */
    String getUnit();

    /**
     * Set the value of Destination
     *
     * @param Destination new value of Destination
     */
    void setDestination(IPlace Destination);

    /**
     * Set the value of Distance
     *
     * @param Distance new value of Distance
     */
    void setDistance(float Distance);

    /**
     * Set the value of Leg
     *
     * @param Leg new value of Leg
     */
    void setLeg(HashMap<Integer, ILocation> Leg);

    /**
     * Set the value of Leg
     *
     * @param Leg new value of Leg
     */
    void setLeg(int Index, ILocation locate);

    /**
     * Set the value of Origin
     *
     * @param Origin new value of Origin
     */
    void setOrigin(IPlace Origin);

    /**
     * Set the value of Unit
     *
     * @param Unit new value of Unit
     */
    void setUnit(String Unit);
    
}
